/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.squela
package sql

case class AddColumn(field: SqlField[_]) extends AlterResource
case class DropColumn(field: SqlField[_]) extends AlterResource
case class ChangeColumnName(column: String, newColumn: SqlField[_]) extends AlterResource
case class ChangeColumnType(column: SqlField[_]) extends AlterResource
case class AddPrimaryKey(column: Table.PrimaryKeyField[_]) extends AlterResource
case class AddForeignKey(column: Table.ReferenceField[_]) extends AlterResource